<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <title>WebRTC实时通信</title>

  <link rel="stylesheet" href="/css/v.css" />
  <script src="https://lib.baomitu.com/socket.io/4.4.1/socket.io.min.js"
  crossorigin="anonymous"></script>
</head>

<body>

  <h1>WebRTC实时通信</h1>

  <div id="videos">
    <video id="localVideo" autoplay muted playsinline></video>
    <video id="remoteVideo" autoplay playsinline></video>
  </div>

  <div>
    <input id="isFirst" type="checkbox" value="" >是否房主</input>
    <button id="getUserMedia">startGetUserMedia</button>
    <button id="start">Start</button>
  </div>
  <div>
    <button id="hangup">挂断</button>
  </div>

  <script src="/js/webrtcAdapter.js"></script>
  <script src="/js/v.js"></script>

</body>

</html>